/**
 * @author: qzk
 * @Description: 定义排行榜服务器返回数据的类型
 * url:
 * @param
 */
export interface TabWrap {
    tabId: number;
    id: number;
    name: string;
    position: number;
    rankingId: number;
    isActive?: boolean;
}

export interface  TabList{
    id: number;
    name: string;
    position: number;
    sceneId: number;
    tabWraps: TabWrap[];
}

export interface YourData {
    tabLists: TabList[];
    sceneId:number;
}

export interface Album {
    id: number;
    albumTitle: string;
    customTitle: string;
    albumUrl: string;
    cover: string;
    anchorUrl: string;
    playCount: number;
    trackCount: number;
    description: string;
    tagStr: string;
    isPaid: boolean;
    price: string;
    isSubscribe: boolean;
    categoryId: number;
    categoryCode: string;
    categoryTitle: string;
    lastUpdateTrack: string;
    lastUpdateTrackUri: string;
    vipType: number;
    anchorName: string;
    lastUptrackAtStr: string;
    rankingPositionChange: number;
    albumSubscript: number;
    salePoint: string;
}

export interface HotRank {
    count: number;
    ids: number[];
    coverPath: string;
    title: string;
    rankId: number;
    subtitle: string;
    shareUrl: string;
    contentType: number;
    albums: Album[];
    anchors: any[]; // 如果有锚点数据，可以进一步定义锚点的类型
}

export interface RankListData {
    rankingIds: number[];
    currentUid: number;
    rankList: HotRank[];
}